package cn.kust.clock.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author bjs
 * @date 2022/7/20 0020  19:12
 * 图片实体对象
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("clock_image")
public class Image {
    private Long id;//图片id

    private String url;//图片url

    private Long clockSortId;//对应的打卡id

    public Image( String url, Long clockSortId) {
        this.url = url;
        this.clockSortId = clockSortId;
    }
}
